﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace EbayQueryExpertLib.Entities
{
    public class CurrencyInfo
    {
        private static bool m_Loaded = false;
        private static readonly Dictionary<string, string> m_AllCurrency = new Dictionary<string,string>();

        public static Dictionary<string, string> AllCurrency
        {
            get
            {
                if (!m_Loaded)
                    Load();
                return CurrencyInfo.m_AllCurrency;
            }
        }
        private static void Load()
        {
            if (m_Loaded)
                return;
            m_AllCurrency.Clear();
            m_AllCurrency.Add("AUD", "Australian Dollar");
            m_AllCurrency.Add("CAD", "Canadian Dollar");
            m_AllCurrency.Add("CHF", "Swiss Franc");
            m_AllCurrency.Add("CNY", "Chinese Chinese Renminbi");
            m_AllCurrency.Add("EUR", "Euro");
            m_AllCurrency.Add("GBP", "Pound Sterling");
            m_AllCurrency.Add("HKD", "Hong Kong Dollar");
            m_AllCurrency.Add("INR", "Indian Rupee");
            m_AllCurrency.Add("MYR", "Malaysian Ringgit");
            m_AllCurrency.Add("PHP", "Philippines Peso");
            m_AllCurrency.Add("PLN", "Poland, Zloty");
            m_AllCurrency.Add("SEK", "Swedish Krona");
            m_AllCurrency.Add("SGD", "Singapore Dollar");
            m_AllCurrency.Add("TWD", "New Taiwan Dollar");
            m_AllCurrency.Add("USD", "US Dollar");
            m_Loaded = true;
        }

    }
}
